Learn R Programming

gmp (version 0.2-2)

[.bigz: Extract or Replace Parts of an Object

Description

Operators acting on vectors, arrays and lists to extract or replace subsets.

Usage

a[i]
c.bigz(...,recursive = FALSE)
rep.bigz(x,times,...)

Arguments

a,x
Object or vector of class bigz
i
Integer, index of the vector
...
Additional parameters
times
Integer
recursive
Unused

References

Gnu MP Library see http://swox.com/gmp, Home page: http://mulcyber.toulouse.inra.fr/projects/gmp/

a <- as.bigz(123) a[2] <- a[1]

# create a vector of 3 a c(a,a,a)

# repeate a 5 times rep(a,5)

arith